package com.cyx.dao;


import com.cyx.pojo.Student;
import com.cyx.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserDaoInterface {

    Student findStudentByStudentId(int studentId);
    Teacher findTeacherById(int teacherId);

    void addStudent(Student studnet);
}
